package com.djj.nanny.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.djj.nanny.entity.ServiceStaff;

import java.math.BigDecimal;
import java.util.List;

public interface ServiceStaffService {
    void createServiceStaff(ServiceStaff staff);

    void updateServiceStaff(ServiceStaff staff);

    void fillUserInfo(ServiceStaff staff);

    ServiceStaff getServiceStaffById(Long id);

    ServiceStaff getServiceStaffByUserId(Long userId);

    Page<ServiceStaff> getServiceStaffsByPage(
            String name, String serviceType, Integer pageNum, Integer pageSize, String workArea, BigDecimal minRating);

    List<ServiceStaff> getTopRatedStaff();

    void deleteServiceStaff(Long id);

    List<ServiceStaff> getAvailableStaffByServiceItem(Long serviceId);
} 